package vg.modules.desktop;

import vg.services.plugin_manager.interfaces.IPlugin;
import vg.services.plugin_manager.realization.PluginParameter;

/**
 * This class connected desktop's plugin.
 * @author tzolotuhin
 */
public class DesktopPlugin implements IPlugin {
	private PluginParameter param = null;
	private DesktopPanel desktopPanel;
	/**
	 * Installer.
	 */
	public void install(PluginParameter parameter) throws Exception {
		this.param = parameter;
		this.desktopPanel = new DesktopPanel(this.param);
		this.param.userInterface.addElement(this.desktopPanel, "Desktop");
	}
}
